package com.jinghua.treatment.service;

import com.jinghua.treatment.entity.SysInquiryAnswersSub;
import com.jinghua.treatment.entity.SysInquirySubjectCategory;
import com.jinghua.treatment.entity.SysInquirySubjectCategoryExample;

import java.util.List;

public interface SysInquirySubjectCategoryService {


    List<SysInquirySubjectCategory> selectByExample(SysInquirySubjectCategoryExample example);

    List<SysInquirySubjectCategory> selectByAnswers(List<String> answers);

    SysInquirySubjectCategory selectByPrimaryKey(Integer categoryId);

    /**
     * 根据问诊单编号获取模板信息列表
     * @param inquiryId    问诊单模板编号
     * @return              模板信息列表
     */
    List<SysInquirySubjectCategory> selectTemplateByInquiryId(String inquiryId);

    /**
     * 根据问诊单编号获问诊单记录详情信息列表
     * @param inquiryId    问诊单模板编号
     * @return             问诊单记录详情信息列表
     */
    List<SysInquiryAnswersSub> selectSubListByInquiryId(String inquiryId);
}